package com.fkd.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Admin implements Serializable {     //管理员
    private int id;     //管理员id
    private String name; //管理员姓名
    private String account;  //管理员账号
    private String password;  //管理员密码

    public Admin(String name, String account, String password) {
        this.name = name;
        this.account = account;
        this.password = password;
    }
}
